package com.jilefojing.beans.pojos;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jilefojing.beans.pojos.base.BasePo;

/**
 * 
 * @author 作者 jgshun
 * @date 创建时间 2016年07月25日 22时06分59秒
 */
@Table(name = "r_tag_source")
public class RTagSource extends BasePo {
	/**
	 * 属性查询列表
	 */
	public static final String FIELD_ID = "id";
	public static final String FIELD_ITEMTYPE = "itemType";
	public static final String FIELD_ITEMID = "itemId";
	public static final String FIELD_TAGID = "tagId";
	public static final String FIELD_CREATEUSER = "createUser";
	public static final String FIELD_CREATETIME = "createTime";
	public static final String FIELD_UPDATETIME = "updateTime";
	public static final String FIELD_STATUS = "status";
	public static final String FIELD_SORT = "status";
	public static final String FIELD_PROGRESSSTATUS = "progressStatus";

	/**
	 * 列名查询列表
	 */
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_ITEM_TYPE = "item_type";
	public static final String COLUMN_ITEM_ID = "item_id";
	public static final String COLUMN_TAG_ID = "tag_id";
	public static final String COLUMN_CREATE_USER = "create_user";
	public static final String COLUMN_CREATE_TIME = "create_time";
	public static final String COLUMN_UPDATE_TIME = "update_time";
	public static final String COLUMN_STATUS = "status";
	public static final String COLUMN_SORT = "sort";
	public static final String COLUMN_PROGRESS_STATUS = "progress_status";

	@Id
	@GeneratedValue(generator = "JDBC")
	private Long id;
	@Column(name = "item_type")
	private Short itemType;
	@Column(name = "item_id")
	private Long itemId;
	@Column(name = "tag_id")
	private Long tagId;
	@Column(name = "create_user")
	private Long createUser;
	@Column(name = "create_time")
	private Date createTime;
	@Column(name = "update_time")
	private Date updateTime;
	@Column(name = "status")
	private Short status;
	private Double sort;
	@Column(name = "progress_status")
	private Short progressStatus;

	/**
	 * 获取 主键
	 * 
	 * @return id - 主键
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置 主键
	 * 
	 * @param id
	 *            - 主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取 被标签的类型
	 * 
	 * @return itemType - 被标签的类型
	 */
	public Short getItemType() {
		return itemType;
	}

	/**
	 * 设置 被标签的类型
	 * 
	 * @param itemType
	 *            - 被标签的类型
	 */
	public void setItemType(Short itemType) {
		this.itemType = itemType;
	}

	/**
	 * 获取 被标签的对象
	 * 
	 * @return itemId - 被标签的对象
	 */
	public Long getItemId() {
		return itemId;
	}

	/**
	 * 设置 被标签的对象
	 * 
	 * @param itemId
	 *            - 被标签的对象
	 */
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	/**
	 * 获取 标签
	 * 
	 * @return tagId - 标签
	 */
	public Long getTagId() {
		return tagId;
	}

	/**
	 * 设置 标签
	 * 
	 * @param tagId
	 *            - 标签
	 */
	public void setTagId(Long tagId) {
		this.tagId = tagId;
	}

	/**
	 * 获取 创建者
	 * 
	 * @return createUser - 创建者
	 */
	public Long getCreateUser() {
		return createUser;
	}

	/**
	 * 设置 创建者
	 * 
	 * @param createUser
	 *            - 创建者
	 */
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	/**
	 * 获取 创建时间
	 * 
	 * @return createTime - 创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置 创建时间
	 * 
	 * @param createTime
	 *            - 创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Double getSort() {
		return sort;
	}

	public void setSort(Double sort) {
		this.sort = sort;
	}

	public Short getProgressStatus() {
		return progressStatus;
	}

	public void setProgressStatus(Short progressStatus) {
		this.progressStatus = progressStatus;
	}
}